//#define _CRT_SECURE_NO_WARNINGS 1
//
//#include<stdio.h>
//
//struct S
//{
//	int a;
//	char b;
//	double c;
//};
//
//#define OFFSETOF(type,member)    (size_t)&(((type*)0)->member)
//int main()
//{
//	struct S s;
//	printf("%d\n", OFFSETOF(struct S, a));
//	printf("%d\n", OFFSETOF(struct S, b));
//	printf("%d\n", OFFSETOF(struct S, c));
//	return 0;
//}